<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="nav-close"><i class="fa fa-times-circle"></i>
    </div>
    <div class="sidebar-collapse">
        <ul class="nav" id="side-menu">
            <li class="nav-header">
                <div class="dropdown profile-element">
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                        <span class="clear">
                            <span class="block m-t-xs" style="font-size:20px;">
                                <i class="fa fa-area-chart"></i>
                                <strong class="font-bold">U客出行</strong>
                            </span>
                        </span>
                    </a>
                </div>
                <div class="logo-element">U客出行</div>
            </li>
            <li class="dropdown user user-menu">
	            <a >
	                <img src="http://f.hiphotos.baidu.com/image/pic/item/e7cd7b899e510fb3d2c6bdecd333c895d0430cea.jpg" class="user-image" width="45" height="45"  style="border-radius:50%; overflow:hidden;" alt="User Image">
	                <span class="hidden-xs">{:session('user_auth.role_name')}</span>
	                <!-- <span class="hidden-xs">在线</span> -->
	            </a>
	        </li>
            {notempty name="_sidebar_menus" }
            {volist name="_sidebar_menus" id="v"}
                {if !isset($v['child'])}
                <li {if $_location[0]['id'] eq $v.id}class="active"{/if}>
                    <a {if $_location[0]['id'] eq $v.id}class="active"{/if} {if isset($v.url_value)}href="{$v.url_value}"{/if}>
                        <i class="{$v.icon|default='fa fa-circle-o'}"></i>
                        <span class="nav-label">{$v.title}</span>
                    </a>
                </li>
                {else /}
                {notempty name="$v['child']"}
                <li {if $_location[0]['id'] eq $v.id}class="active"{/if}>
                    <a href="#">
                        <i class="{$v.icon|default='fa fa-circle-o'}"></i>
                        <span class="nav-label">{$v.title}</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        {volist name="$v['child']" id="child"}
                        <li>
                            <a {if isset($_location[1])}{if $_location[1]['id'] eq $child.id}class="active"{/if}{/if} href="{$child.url_value}">{$child.title}</a>
                        </li>
                        {/volist}
                    </ul>
                </li>  
                {/notempty}
                {/if}
            {/volist}
            {/notempty}
            
            <li class="line dk"></li>
        </ul>
    </div>
</nav>